package com.enn.demo.client.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 权限DTO
 *
 * @author haoxin
 * @date 2021-02-17
 **/
public class PermissionDTO implements Serializable {

    public PermissionDTO() {
    }

    public PermissionDTO(String id, String parentId, String permissionName, String permissionType, String permissionLevel, String permissionCodes, String menuIcon, int orderNum, String menuUrl) {
        this.id = id;
        this.parentId = parentId;
        this.permissionName = permissionName;
        this.permissionType = permissionType;
        this.permissionLevel = permissionLevel;
        this.permissionCodes = permissionCodes;
        this.menuIcon = menuIcon;
        this.orderNum = orderNum;
        this.menuUrl = menuUrl;
    }

    /**
     * id
     */
    private String id;

    /**
     * 父级ID
     */
    private String parentId;

    /**
     * 父级名称
     */
    private String parentName;

    /**
     * 权限名称
     */
    private String permissionName;

    /**
     * 权限类型
     */
    private String permissionType;

    /**
     * 权限级别
     */
    private String permissionLevel;

    /**
     * 权限编码
     */
    private String permissionCodes;

    /**
     * 菜单图标
     */
    private String menuIcon;

    /**
     * 排序
     */
    private int orderNum;

    /**
     * 菜单url
     */
    private String menuUrl;

    /**
     * ztree属性
     */
    private Boolean open;

    /**
     * 下级权限
     */
    private List<?> subList;

    public String getId() {
        return id;
    }

    public String getParentId() {
        return parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public String getPermissionType() {
        return permissionType;
    }

    public String getPermissionLevel() {
        return permissionLevel;
    }

    public String getPermissionCodes() {
        return permissionCodes;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public Boolean getOpen() {
        return open;
    }

    public List<?> getSubList() {
        return subList;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public void setPermissionType(String permissionType) {
        this.permissionType = permissionType;
    }

    public void setPermissionLevel(String permissionLevel) {
        this.permissionLevel = permissionLevel;
    }

    public void setPermissionCodes(String permissionCodes) {
        this.permissionCodes = permissionCodes;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public void setSubList(List<?> subList) {
        this.subList = subList;
    }
}
